package day014.fanXing.demo05;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        list.add("abc");
        list.add("asd");
        list.add("qwe");

        show(list);

    }

    public static void show(List<?> list) {
        Object o = list.get(0);

        list.remove(0);
        for (Object obj : list) {
            System.out.println(obj);
        }
    }
}
